import 'package:event_bus/event_bus.dart';

/// 事件总线
EventBus eventBus = EventBus();

//退出登录
class LogoutEvent {
  bool refreshPage; //刷新页面
  LogoutEvent({this.refreshPage = false});
}

class DelGroupConversationEvent{
  final String userId;
  const DelGroupConversationEvent(this.userId);
}

class RefreshRedEvent {
  bool refreshRed; //刷新页面
  RefreshRedEvent({this.refreshRed = false});
}

class MultiverseMainEvent {
  bool refreshPage; //刷新页面
  MultiverseMainEvent({this.refreshPage = false});
}